package org.jeecg.modules.htxincailiao.industry.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.htxincailiao.industry.entity.HTIndustryExhibition;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.htxincailiao.industry.entity.HTIndustryExhibition;

/**
 * @Description: ht_industry_exhibition
 * @Author: jeecg-boot
 * @Date:   2021-08-26
 * @Version: V1.0
 */
public interface HTIndustryExhibitionMapper extends BaseMapper<HTIndustryExhibition> {
    //    @Select("<script>" +
//            "SELECT *  FROM (SELECT exhibition_id FROM ht_industry_exhibition_apply " +
//            "WHERE apply_user_id=#{applyUserId}) " +
//            "AS T " +
//            "LEFT JOIN  ht_industry_exhibition " +
//            "ON T.exhibition_id=ht_industry_exhibition.id " +
//            "</script>")
//    List<HTIndustryExhibition>  findAllQueryByApplyUserId(@Param("applyUserId") String applyUserId);
    List<HTIndustryExhibition> queryListByApplyUserId(@Param("page") Page<HTIndustryExhibition> page, @Param("applyUserId") String applyUserId, @Param("name") String name);
}